#ifndef MODBUSWIG_H
#define MODBUSWIG_H

#include <QWidget>

namespace Ui {
class ModbusWig;
}

class ModbusWig : public QWidget
{
    Q_OBJECT

public:
    explicit ModbusWig(QWidget *parent = 0);
    ~ModbusWig();
    int fan_i,buzzer_i,led1_i,led2_i,led3_i,led4_i;//判断按钮是开还是关的变量
private slots:

    void on_fan_Button_clicked();

    void on_buzzer_Button_clicked();

    void on_led1_Button_clicked();

    void on_led2_Button_clicked();

    void on_led3_Button_clicked();

    void on_led4_Button_clicked();

private:
    Ui::ModbusWig *ui;

signals:
    void close_open_Signal(QString text);//关闭风扇等stm32硬件信号信号
};

#endif // MODBUSWIG_H
